@import "./mixin.scss";
@import "./sidebar.scss";
@import "./element.scss";

html,body
{
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  box-sizing: border-box;
}

::selection {
  background: red;
  color: #fff;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//vue router transition css
.fade-enter-active,
.fade-leave-active {
  transition: all .2s ease
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

//main-container全局样式
.app-main {
  min-height: 100%
}

.app-container {
  padding: 20px;
}

.svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.view-container
{
  padding: 24px;
  min-height: 600px;
  margin-bottom: 30px;
  @include clearfix;

  .view-container
  {
    padding: 10px 0;
    @include clearfix;
  }

  .view－alert
  {
    margin-bottom: 15px;
  }
}

.searchBar{
  background: rgba(249, 249, 249, 1);
  padding:24px;
  .editBtn{
    text-align: center;
    margin-top: 24px;
  }
}

/*表单操作按钮*/
.action-btn-wp
{
  display: inline-block;
  + .action-btn-wp
  {
     margin-left: 6px;
  }
}

/*自定义图片预览样式*/
.pswp.pswp-customer{
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 99990;

  .pswp__bg
  {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99991;
  }

  .pswp__scroll-wrap
  {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99992;
  }
}